-- GENERATED SPELL FOR [Blistering Rot] --


function spell0_16901(pUnit, Event) --@Blistering Rot,Self--
pUnit:FullCastSpellOnTarget(32722,pUnit)
pUnit:RegisterEvent('Sorts_16901', 3000, 1)
end

function Sorts_16901(pUnit, Event)
local choix_sorts_16901 = math.random(0, 0)
if choix_sorts_16901 == 0 then
pUnit:RegisterEvent('spell0_16901', 1, 1)
end
end

function mob16901_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16901', math.random(1500, 3000), 1)
end

function mob16901_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16901_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16901_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16901, 1, 'mob16901_Action')
RegisterUnitEvent(16901, 2, 'mob16901_Leave')
RegisterUnitEvent(16901, 3, 'mob16901_Kill')
RegisterUnitEvent(16901, 4, 'mob16901_Die')
